package o;

import android.content.Context;
import android.content.DialogInterface.OnDismissListener;
import androidx.annotation.NonNull;
import com.huawei.appgallery.foundation.ui.framework.widget.dialog.dialogactivity.DialogActivity.a;
import o.cbb.j;

public class cbm {
    private a ˎ;

    public cbm(@NonNull Context context) {
        this.ˎ = new a(context, "LoginPromptDialog");
        this.ˎ.ॱ(j.ˊˋ);
        this.ˎ.ˋ(-1, j.ˋˊ);
        this.ˎ.ˋ(-2, j.ʾ);
    }

    public void ˏ(ckh.a aVar) {
        this.ˎ.ˏ(aVar);
    }

    public void ˊ(OnDismissListener onDismissListener) {
        this.ˎ.ˋ(onDismissListener);
    }

    public void ˏ() {
        if (!this.ˎ.ˋ()) {
            this.ˎ.ˎ();
        }
    }

    public void ॱ() {
        this.ˎ.ˊ();
    }
}
